<h1>Listing vocabs</h1>

<table>
  <tr>
    <th>La</th>
    <th>Cl</th>
    <th>Co</th>
    <th>Tr</th>
    <th>Ca</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @vocabs.each do |vocab| %>
  <tr>
    <td><%= vocab.la %></td>
    <td><%= vocab.cl %></td>
    <td><%= vocab.co %></td>
    <td><%= vocab.tr %></td>
    <td><%= vocab.ca %></td>
    <td><%= link_to 'Show', vocab %></td>
    <td><%= link_to 'Edit', edit_vocab_path(vocab) %></td>
    <td><%= link_to 'Destroy', vocab, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Vocab', new_vocab_path %>
